<template>
  <div>
    <!-- <h1>我是Header</h1> -->
    <el-button type="primary" icon="el-icon-menu" @click="shrinkMenu"></el-button>
  </div>
</template>

<script>
// import {} from ''
export default {
  name: "",
  data() {
    return {
      collapse: false
    }
  },
  methods: {
    shrinkMenu() {
      this.collapse = !this.collapse
      this.$store.commit('changecollapse', this.collapse)
    }
  },
  computed: {

  },

}
</script>

<style lang="scss" scoped>

</style>